//
//  AppDelegate.m
//  Demo2
//
//  Created by cora1n on 14-8-21.
//  Copyright (c) 2014年 devwu. All rights reserved.
//

#import "AppDelegate.h"
#import "Person.h"
#import "iHome.h"
#import "LinkHome.h"
@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    
    Person * p1 = [Person new];
    p1.name = @"道斌";
    iHome * i = [iHome new];
    p1.rentDelegate = i;
    [p1 findHouse];
    
    
    
    
    return YES;
}


@end
